﻿using System;
using System.Collections.Generic;
using System.Text;
using Tauren.Business.Entity.Config;
using Tauren.Business.Entity.Global;
using Tauren.Business.Entity.Input;

namespace Tauren.Business.Service.PositionBLL
{
    public interface IPositionServices
    {
       
        /// 分页获取数据
        /// </summary>
        /// <param name="queryModel"></param>
        /// <returns></returns>
        IResponseMessage Pages(QueryModel queryModel);

        /// <summary>
        /// 新增数据
        /// </summary>
        /// <returns></returns>
        IResponseMessage Add(Position_Input data);

        /// <summary>
        /// 修改数据
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        IResponseMessage Edit(Position_Input data);

        /// <summary>
        /// 删除数据
        /// </summary>
        /// <param name="AutoID"></param>
        /// <returns></returns>
        IResponseMessage Delete(int AutoID);

        /// <summary>
        /// 根据 ID获取指定数据
        /// </summary>
        /// <param name="AutoID"></param>
        /// <returns></returns>
        IResponseMessage Get(int AutoID);

        /// <summary>
        /// 根据主键ID获取数据
        /// </summary>
        /// <param name="AutoID"></param>
        /// <returns></returns>
        IResponseMessage Config(string PageType);
         

        /// <summary>
        /// 禁用数据
        /// </summary>
        /// <param name="AutoID"></param>
        /// <returns></returns>
        IResponseMessage Enable(int AutoID);

    }
}
